package com.yang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringSecurityApplication {

    public static void main(String[] args) {
        // 设置返回值，该返回值其实就是Spring的容器
        // 点击下方类似计算器图表的按钮(Evaluate Expression)，输入run.getBean(DefaultSecurityFilterChain.class)，点击filters属性，即可查看所有的过滤器链
        ConfigurableApplicationContext run = SpringApplication.run(SpringSecurityApplication.class, args);
        System.out.println("***************************************SpringSecurityApplication启动成功***************************************");
    }

}
